//
//  PhoneRechargeRouter.swift
//  Entrance
//
//  Created Chunhui on 2018/1/31.
//  Copyright © 2018年 chunhuiLai. All rights reserved.
//

import UIKit

class PhoneRechargeRouter {
    
    weak var view: UIViewController?

    class func buildModule() -> PhoneRechargeViewController {
        ///viper模块间建立依懒
        let view = PhoneRechargeViewController()
        let interactor = PhoneRechargeInteractor()
        let router = PhoneRechargeRouter()
        let presenter = PhoneRechargePresenter(interface: view, interactor: interactor, router: router)
      
        view.presenter = presenter
        interactor.presenter = presenter
        router.view = view
        
        return view
    }
}

extension PhoneRechargeRouter: PhoneRechargeWireFrame {
}
